<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">










<html>
  <head>
    <title>maven-easyaccept-plugin - 
    maven-easyaccept-plugin - easyaccept:run</title>
    <style type="text/css" media="all">
      @import url("./css/maven-base.css");
      @import url("./css/maven-theme.css");
      @import url("./css/site.css");
    </style>
    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
      </head>
  <body class="composite">
    <div id="banner">
                    <span id="bannerLeft">
    
            maven-easyaccept-plugin
    
            </span>
                    <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="breadcrumbs">
          
  

  
    
  
  
            <div class="xleft">
        Last Published: 04/13/2008
                      </div>
            <div class="xright">      <a href="">maven-easyaccept-plugin</a>
          
  

  
    
  
  
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="leftColumn">
      <div id="navcolumn">
           
  

  
    
  
  
                   <ul>
          </ul>
          <h5>Project Documentation</h5>
        <ul>
              
                
              
      
            
      
            
      
            
      
            
      
            
      
            
      
              
        <li class="collapsed">
              <a href="project-info.html">Project Information</a>
              </li>
              
                
              
      
            
      
            
      
            
      
              
        <li class="collapsed">
              <a href="project-reports.html">Project Reports</a>
              </li>
          </ul>
                                       <a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy">
            <img alt="Built by Maven" src="./images/logos/maven-feather.png"></img>
          </a>
                       
  

  
    
  
  
        </div>
    </div>
    <div id="bodyColumn">
      <div id="contentBox">
        
  
  
    <a name="easyaccept:run"></a><div class="section"><h2>easyaccept:run</h2>
      <p>Run tests using EasyAccept.</p>
      <p><b>Mojo Attributes</b>:<ul>
          <li>Requires a Maven 2.0 project to execute.</li>
          <li>Requires dependency resolution of artifacts in scope: <code>test</code></li>
          <li>Automatically executes within the lifecycle phase: <code>test</code></li>
          </ul>
        
      <a name="Required Parameters"></a><div class="section"><h3>Required Parameters</h3>
        <table class="bodyTable">
          <tr class="a">
            <th>Name</th>
            <th>Type</th>
            <th>Description</th>
            </tr>
          <tr class="b">
            <td><b><a href="#displayCommand">displayCommand</a></b></td>
            <td><code>boolean</code></td>
            <td>Option to print the java command used in testing. Default value is <code>false</code>.</td>
            </tr>
          <tr class="a">
            <td><b><a href="#easyAcceptClassName">easyAcceptClassName</a></b></td>
            <td><code>String</code></td>
            <td>ClassName (FQN) of the EasyAccept tool to provide. Default value is <code>easyaccept.EasyAccept</code>.</td>
            </tr>
          <tr class="b">
            <td><b><a href="#facadeClass">facadeClass</a></b></td>
            <td><code>String</code></td>
            <td>ClassName (FQN) of the facade class required by the EasyAccept tool.</td>
            </tr>
          <tr class="a">
            <td><b><a href="#pattern">pattern</a></b></td>
            <td><code>String</code></td>
            <td>The pattern used to specify the script files that should be included in testing.
When not specified the default will be &quot;*&quot;, indicating that all files should be included. Default value is <code>*</code>.</td>
            </tr>
          </table>
        </div>
      <a name="Optional Parameters"></a><div class="section"><h3>Optional Parameters</h3>
        <table class="bodyTable">
          <tr class="b">
            <th>Name</th>
            <th>Type</th>
            <th>Description</th>
            </tr>
          <tr class="a">
            <td><b><a href="#jvmArgs">jvmArgs</a></b></td>
            <td><code>String[]</code></td>
            <td>Jvm Arguments.</td>
            </tr>
          <tr class="b">
            <td><b><a href="#testSourceDir">testSourceDir</a></b></td>
            <td><code>File</code></td>
            <td>The directory containing the script files of the project being tested.</td>
            </tr>
          </table>
        </div>
      <a name="Parameter Details"></a><div class="section"><h3>Parameter Details</h3>
        <b><a name="displayCommand">displayCommand</a></b>
        Option to print the java command used in testing.
        <ul>
          <li><b>Type</b>: <code>boolean</code></li>
          <li><b>Required</b>: <code>Yes</code></li>
          <li><b>Expression</b>: <code>${maven.easyAccept.displayCommand}</code></li>
          <li><b>Default</b>: <code>false</code></li>
          </ul><hr></hr><b><a name="easyAcceptClassName">easyAcceptClassName</a></b>
        ClassName (FQN) of the EasyAccept tool to provide.
        <ul>
          <li><b>Type</b>: <code>java.lang.String</code></li>
          <li><b>Required</b>: <code>Yes</code></li>
          <li><b>Expression</b>: <code>${maven.easyaccept.className}</code></li>
          <li><b>Default</b>: <code>easyaccept.EasyAccept</code></li>
          </ul><hr></hr><b><a name="facadeClass">facadeClass</a></b>
        ClassName (FQN) of the facade class required by the EasyAccept tool.
        <ul>
          <li><b>Type</b>: <code>java.lang.String</code></li>
          <li><b>Required</b>: <code>Yes</code></li>
          <li><b>Expression</b>: <code>${facadeClass}</code></li>
          </ul><hr></hr><b><a name="jvmArgs">jvmArgs</a></b>
        Jvm Arguments.
        <ul>
          <li><b>Type</b>: <code>java.lang.String[]</code></li>
          <li><b>Required</b>: <code>No</code></li>
          </ul><hr></hr><b><a name="pattern">pattern</a></b>
        The pattern used to specify the script files that should be included in testing.
When not specified the default will be &quot;*&quot;, indicating that all files should be included.
        <ul>
          <li><b>Type</b>: <code>java.lang.String</code></li>
          <li><b>Required</b>: <code>Yes</code></li>
          <li><b>Expression</b>: <code>${pattern}</code></li>
          <li><b>Default</b>: <code>*</code></li>
          </ul><hr></hr><b><a name="testSourceDir">testSourceDir</a></b>
        The directory containing the script files of the project being tested.
        <ul>
          <li><b>Type</b>: <code>java.io.File</code></li>
          <li><b>Required</b>: <code>No</code></li>
          <li><b>Expression</b>: <code>${project.build.testSourceDirectory}/../easyaccept</code></li>
          </ul>
        </div>
      </div>
    
  
      </div>
    </div>
    <div class="clear">
      <hr/>
    </div>
    <div id="footer">
      <div class="xright">&#169;  
          2007-2008
    
          
  

  
    
  
  
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
  </body>
</html>
